package cn.app.android.sichuanxiaoke.com.xiaokeapp.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import cn.app.android.sichuanxiaoke.com.xiaokeapp.R;

public class UserRegisterSuccessActivity extends AppCompatActivity {
    @BindView(R.id.tb)
    Toolbar tb;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_user_register_success);
        ButterKnife.bind(this);
        initUI();
    }

    private void initUI() {
        setSupportActionBar(tb);
        getSupportActionBar().setDefaultDisplayHomeAsUpEnabled(true);
        tb.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });

    }
    @OnClick(R.id.gologin)
    public void OnClick(View view){
        startActivity(new Intent(this,UserLoginActivity.class));
        finish();
    }
}
